﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SArenaPlayerInfo extends Object
    {
        public var zoneB:String;
        public var entityId:SEntityId;
        public var channelId:int;
        public var process:int;
        public var score:int;
        public var count:int;
        public var winNum:int;
        public var loseNum:int;
        public var rank:int;
        public var crossrank:int;
        public var name:String;
        public var js:String;
        public var lastDt:Date;

        public function SArenaPlayerInfo()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeString(this.zoneB);
            this.entityId.__write(param1);
            param1.writeInt(this.channelId);
            param1.writeInt(this.process);
            param1.writeInt(this.score);
            param1.writeInt(this.count);
            param1.writeInt(this.winNum);
            param1.writeInt(this.loseNum);
            param1.writeInt(this.rank);
            param1.writeInt(this.crossrank);
            param1.writeString(this.name);
            param1.writeString(this.js);
            param1.writeDate(this.lastDt);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.zoneB = param1.readString();
            this.entityId = new SEntityId();
            this.entityId.__read(param1);
            this.channelId = param1.readInt();
            this.process = param1.readInt();
            this.score = param1.readInt();
            this.count = param1.readInt();
            this.winNum = param1.readInt();
            this.loseNum = param1.readInt();
            this.rank = param1.readInt();
            this.crossrank = param1.readInt();
            this.name = param1.readString();
            this.js = param1.readString();
            this.lastDt = param1.readDate();
            return;
        }// end function

    }
}
